package com.vic.gupao.rmi.service;

import java.io.Serializable;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class IHelloServiceImp extends UnicastRemoteObject implements IHelloService ,Serializable{

    public IHelloServiceImp() throws RemoteException {
        super();
    }

    @Override
    public String sayHi(String msg) throws  RemoteException{
       return "Hello,"+msg;
    }
}
